import {get,post} from "@/components/utils/request";

// 可以照着这样写请求，页面调用
//请求传递
export const userPersonalUser = (id) => get("/user/user/findByidUser/"+id);

export const userUpdatePonit = (driverPoint,id) => get("/user/user/updatePoint"+'/'+driverPoint+'/'+id);

export const updateAssetsId= (Assets,id) => get("/user/user/updateAssetsId"+'/'+Assets+'/'+id);

export const userUpdateTotalAssetsQuan = (id) => get("/user/user/updateAssetsQuan/"+id);

export const userLoginName = (username) => get("/user/user/loginName/"+username);

export const userLoginPassword = (id,password) => get("/user/user/loginPassword/"+id+'/'+password);


export const userRegister = (data) => post("/user/user/userRegister",data);


export const findCountMoney= (id)  => get("/user/user/findCountMoney/"+id);
export const findByIdCountMoney= (data)  => post("/user/user/findByIdCountMoney",data);

export const findPhone= (phone)  => get("/user/user/message/"+phone);

export const userSelectPhone = (phone) => get("/user/user/findPhone/"+phone);
